# CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos -name "*.c")

# 
# include $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/

# benchmark
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark/assets/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark/assets
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark/assets

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/benchmark/assets"

# keypad_encoder
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/keypad_encoder/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/keypad_encoder
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/keypad_encoder

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/keypad_encoder"

# music
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music/assets/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music/assets
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music/assets

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/music/assets"

# stress
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/stress/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/stress
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/stress

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/stress"

# widgets
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets/assets/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets/assets
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets/assets

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/widgets/assets"
